/**
 * 
 */
package com.ydy.service.account;

import com.ydy.model.Account;
import com.ydy.model.Staff;
import com.ydy.vo.other.BaseVo;
import com.ydy.vo.other.PageVo;

/**
 * @author xuzhaojie
 *
 *         2019年9月27日 下午7:11:11
 */
public interface AccountService {

	PageVo<Account> select(Account account, Integer page, Integer size);

	Account saveOrUpdate(Account account, Staff staff);

	BaseVo setDefault(Long id, Staff staff);

	BaseVo delete(Long id, Staff staff);

	Account selectById(Long id, Staff staff);
}
